echo 'installing SVN'
sudo apt-get install subversion
echo 'svn checking out....(wait)'
mkdir -p ~/.config
mkdir -p ~/.config/mtiler
cd ~/.config/mtiler
svn checkout http://metacity-tiler.googlecode.com/svn/trunk/ mtiler_source
cd mtiler_source 
echo 'svn update .'
svn update .
echo 'installing dependencies'
sudo apt-get install wmctrl xbindkeys lua5.1 x11-utils
cp ~/.config/mtiler/mtiler_source/m*.lua ~/.config/mtiler/
cp ~/.config/mtiler/mtiler_source/m*.py ~/.config/mtiler/
cp ~/.config/mtiler/mtiler_source/c*.lua ~/.config/mtiler/
cp ~/.config/mtiler/mtiler_source/*.glade ~/.config/mtiler/
cp ~/.config/mtiler/mtiler_source/*.desktop ~/
cp ~/.config/mtiler/mtiler_source/_xbindkeysrc ~/
less README
